package com.bzkj.document.domain.otherinorder.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @projectName: bzkj-wms
 * @package: com.bzkj.document.domain.otherinorder
 * @className: ICGeneralInB
 * @description: 其他入库单新增明细
 * @author: C1309
 * @createDate: 2024年12月03日
 * @version: v1.0
 */
public class ICGeneralInB {
    /**
     * 物料编码
     */
    @JSONField(name = "cmaterialvid")
    @JsonProperty("cmaterialvid")
    private String cMaterialVid;

    /**
     * 应收数量
     */
    @JSONField(name = "nshouldassistnum")
    @JsonProperty("nshouldassistnum")
    private int nShouldAssistNum;

    /**
     * 应收主数量
     */
    @JSONField(name = "nshouldnum")
    @JsonProperty("nshouldnum")
    private int nShouldNum;

    /**
     * 实收主数量
     */
    @JSONField(name = "nnum")
    @JsonProperty("nnum")
    private int nNum;

    /**
     * 实收辅数量
     */
    @JSONField(name = "nassistnum")
    @JsonProperty("nassistnum")
    private int nAssistNum;

    /**
     * 生产厂商
     */
    @JSONField(name = "cproductorid")
    @JsonProperty("cproductorid")
    private String cProductorId;

    /**
     * 库存状态
     */
    @JSONField(name = "cstateid")
    @JsonProperty("cstateid")
    private String cStateId;

    /**
     * 批次号
     */
    @JSONField(name = "vbatchcode")
    @JsonProperty("vbatchcode")
    private String vBatchCode;

    /**
     * 生产日期
     */
    @JSONField(name = "dproducedate")
    @JsonProperty("dproducedate")
    private Date dProduceDate;

    /**
     * 有效期
     */
    @JSONField(name = "dvalidate")
    @JsonProperty("dvalidate")
    private Date dValidate;

    /**
     * 供应商
     */
    @JSONField(name = "cvendorid")
    @JsonProperty("cvendorid")
    private String cVendorId;

    /**
     * 供应商代码
     */
    @JSONField(name = "vbcdef2")
    @JsonProperty("vbcdef2")
    private String vbcdef2;

    /**
     * 供应商批次号
     */
    @JSONField(name = "vvendbatchcode")
    @JsonProperty("vvendbatchcode")
    private String vVendBatchCode;

    /**
     * 重量
     */
    @JSONField(name = "nweight")
    @JsonProperty("nweight")
    private int nWeight;

    /**
     * 包材版本
     */
    @JSONField(name = "vbcdef3")
    @JsonProperty("vbcdef3")
    private String vbcdef3;

    /**
     * 合箱标识
     */
    @JSONField(name = "vbcdef1")
    @JsonProperty("vbcdef1")
    private String vbcdef1;

    /**
     * sto_id
     */
    @JSONField(name = "sto_id", serialize = false)
    @JsonIgnore
    @JsonProperty("sto_id")
    private String stoId;

    /**
     * stu_class_id
     */
    @JSONField(name = "stu_class_id", serialize = false)
    @JsonIgnore
    @JsonProperty("stu_class_id")
    private String stuClassId;


    /**
     * 复检期
     */
    @JSONField(name = "vdef48", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("vdef48")
    private Date vdef48;

    public String getcMaterialVid() {
        return cMaterialVid;
    }

    public void setcMaterialVid(String cMaterialVid) {
        this.cMaterialVid = cMaterialVid;
    }

    public int getnShouldAssistNum() {
        return nShouldAssistNum;
    }

    public void setnShouldAssistNum(int nShouldAssistNum) {
        this.nShouldAssistNum = nShouldAssistNum;
    }

    public int getnShouldNum() {
        return nShouldNum;
    }

    public void setnShouldNum(int nShouldNum) {
        this.nShouldNum = nShouldNum;
    }

    public int getnNum() {
        return nNum;
    }

    public void setnNum(int nNum) {
        this.nNum = nNum;
    }

    public int getnAssistNum() {
        return nAssistNum;
    }

    public void setnAssistNum(int nAssistNum) {
        this.nAssistNum = nAssistNum;
    }

    public String getcProductorId() {
        return cProductorId;
    }

    public void setcProductorId(String cProductorId) {
        this.cProductorId = cProductorId;
    }

    public String getcStateId() {
        return cStateId;
    }

    public void setcStateId(String cStateId) {
        this.cStateId = cStateId;
    }

    public String getvBatchCode() {
        return vBatchCode;
    }

    public void setvBatchCode(String vBatchCode) {
        this.vBatchCode = vBatchCode;
    }

    public Date getdProduceDate() {
        return dProduceDate;
    }

    public void setdProduceDate(Date dProduceDate) {
        this.dProduceDate = dProduceDate;
    }

    public Date getdValidate() {
        return dValidate;
    }

    public void setdValidate(Date dValidate) {
        this.dValidate = dValidate;
    }

    public String getcVendorId() {
        return cVendorId;
    }

    public void setcVendorId(String cVendorId) {
        this.cVendorId = cVendorId;
    }

    public String getVbcdef2() {
        return vbcdef2;
    }

    public void setVbcdef2(String vbcdef2) {
        this.vbcdef2 = vbcdef2;
    }

    public String getvVendBatchCode() {
        return vVendBatchCode;
    }

    public void setvVendBatchCode(String vVendBatchCode) {
        this.vVendBatchCode = vVendBatchCode;
    }

    public int getnWeight() {
        return nWeight;
    }

    public void setnWeight(int nWeight) {
        this.nWeight = nWeight;
    }

    public String getVbcdef3() {
        return vbcdef3;
    }

    public void setVbcdef3(String vbcdef3) {
        this.vbcdef3 = vbcdef3;
    }

    public String getVbcdef1() {
        return vbcdef1;
    }

    public void setVbcdef1(String vbcdef1) {
        this.vbcdef1 = vbcdef1;
    }

    public Date getVdef48() {
        return vdef48;
    }

    public void setVdef48(Date vdef48) {
        this.vdef48 = vdef48;
    }

    public String getStoId() {
        return stoId;
    }

    public void setStoId(String stoId) {
        this.stoId = stoId;
    }

    public String getStuClassId() {
        return stuClassId;
    }

    public void setStuClassId(String stuClassId) {
        this.stuClassId = stuClassId;
    }

    @Override
    public String toString() {
        return "ICGeneralInB{" +
                "cMaterialVid='" + cMaterialVid + '\'' +
                ", nShouldAssistNum=" + nShouldAssistNum +
                ", nShouldNum=" + nShouldNum +
                ", nNum=" + nNum +
                ", nAssistNum=" + nAssistNum +
                ", cProductorId='" + cProductorId + '\'' +
                ", cStateId='" + cStateId + '\'' +
                ", vBatchCode='" + vBatchCode + '\'' +
                ", dProduceDate='" + dProduceDate + '\'' +
                ", dValidate='" + dValidate + '\'' +
                ", cVendorId='" + cVendorId + '\'' +
                ", vbcdef2='" + vbcdef2 + '\'' +
                ", vVendBatchCode='" + vVendBatchCode + '\'' +
                ", nWeight=" + nWeight +
                ", vbcdef3='" + vbcdef3 + '\'' +
                ", vbcdef1='" + vbcdef1 + '\'' +
                ", stoId='" + stoId + '\'' +
                ", stuClassId='" + stuClassId + '\'' +
                ", vdef48=" + vdef48 +
                '}';
    }
}
